package com.freda.oa.flow.run.vo;
/**
 * 流程运行BEAN
 * @author Rally
 */
import javax.servlet.http.HttpServletRequest;

import org.eredlab.g4.ccl.datastructure.impl.BaseVo;

import com.freda.oa.flow.utl.TimeUtil;

public class FlowRunInfoVo extends BaseVo {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String content;

	private boolean isSubTask;
	
	private boolean hasSubTask;
	
	private boolean isPerusalCompleted;
	
	private int partState;
	
	private HttpServletRequest request;
	/**
	 * 当前服务器时间
	 */
	private String nowTime;
	/**
	 * 任务开始时间
	 */
	private String taskStartTime;
	/**
	 * 任务持续时间
	 */
	private String taskDurationTime;
	/**
	 * 业务表ID
	 */
	private String appId;
	/**
	 * 业务名称
	 */
	private String appName;
	/**
	 * sid
	 */
	private String sId;
	/**
	 * 流程定义ID
	 */
	private String deployMentId;
	/**
	 * 流程控制ID
	 */
	private String deployCtlId;
	/**
	 * 流程控制KEY
	 */
	private String deployCtlKey;
	/**
	 * 当前节点ID
	 */
	private String activityId;
	/**
	 * 当前节点名称
	 */
	private String activityName;
	/**
	 * 下一节点ID
	 */
	private String nextActivityId;
	/**
	 * 下一节点名称
	 */
	private String nextActivityName;
	/**
	 * 下一节点类型
	 */
	private String nextActivityType;
	/**
	 * 处理人ID
	 */
	private String assigneeId;
	/**
	 * 处理人姓名
	 */
	private String assigneeName;
	/**
	 * 处理人部门ID
	 */
	private String assigneeDeptId;
	/**
	 * 处理人部门名称
	 */
	private String assigneeDeptName;
	/**
	 * 参与者ID
	 */
	private String partId;
	/**
	 * 任务ID
	 */
	private String taskId;
	/**
	 * 历史ID
	 */
	private String hisTaskId;
	/**
	 * 上一个任务ID
	 */
	private String superTaskId;
	/**
	 * 实例ID
	 */
	private String instanceId;
	/**
	 * 父实例ID
	 */
	private String superInstanceId;
	/**
	 *当前节点表单ID 
	 */
	private String nodeFormId;
	/**
	 * 当前节点表单文件名称
	 */
	private String nodeFormFileName;
	/**
	 * 当前节点表单文件路径
	 */
	private String nodeFormFilePath;
	/**
	 * 当前节点表单特控元素VO
	 */
	private FlowFormFieldVo nodeFormFieldVo;
	/**
	 * 无参构造方法
	 */
	public FlowRunInfoVo(){
		
		this.nowTime = TimeUtil.getNowTime();
		
	}
	/**
	 * 构造方法
	 * @param request
	 */
	public FlowRunInfoVo(HttpServletRequest request){
		
		if(request != null)
		{
			this.request = request;			
		}
		
		this.nowTime = TimeUtil.getNowTime();
	}

	/**
	 * @return the partState
	 */
	public int getPartState() {
		return partState;
	}

	/**
	 * @param partState the partState to set
	 */
	public void setPartState(int partState) {
		this.partState = partState;
	}

	/**
	 * @return the isPerusalCompleted
	 */
	public boolean isPerusalCompleted() {
		return isPerusalCompleted;
	}

	/**
	 * @param isPerusalCompleted the isPerusalCompleted to set
	 */
	public void setPerusalCompleted(boolean isPerusalCompleted) {
		this.isPerusalCompleted = isPerusalCompleted;
	}

	/**
	 * @return the partId
	 */
	public String getPartId() {
		return partId;
	}

	/**
	 * @param partId the partId to set
	 */
	public void setPartId(String partId) {
		this.partId = partId;
	}

	/**
	 * @return the lastTaskId
	 */
	public String getSuperTaskId() {
		return superTaskId;
	}

	/**
	 * @param lastTaskId the lastTaskId to set
	 */
	public void setSuperTaskId(String superTaskId) {
		this.superTaskId = superTaskId;
	}

	/**
	 * @return the isSubTask
	 */
	public boolean isSubTask() {
		return isSubTask;
	}

	/**
	 * @param isSubTask the isSubTask to set
	 */
	public void setSubTask(boolean isSubTask) {
		this.isSubTask = isSubTask;
	}

	/**
	 * @return the hasSubTask
	 */
	public boolean isHasSubTask() {
		return hasSubTask;
	}

	/**
	 * @param hasSubTask the hasSubTask to set
	 */
	public void setHasSubTask(boolean hasSubTask) {
		this.hasSubTask = hasSubTask;
	}

	/**
	 * @return the request
	 */
	public HttpServletRequest getRequest() {
		return request;
	}

	/**
	 * @param request the request to set
	 */
	public void setRequest(HttpServletRequest request) {
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		this.request = request;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return the nowTime
	 */
	public String getNowTime() {
		return nowTime;
	}

	/**
	 * @param nowTime the nowTime to set
	 */
	public void setNowTime(String nowTime) {
		this.nowTime = nowTime;
	}

	/**
	 * @return the taskStartTime
	 */
	public String getTaskStartTime() {
		return taskStartTime;
	}

	/**
	 * @param taskStartTime the taskStartTime to set
	 */
	public void setTaskStartTime(String taskStartTime) {
		this.taskStartTime = taskStartTime;
	}

	/**
	 * @return the taskDurationTime
	 */
	public String getTaskDurationTime() {
		return taskDurationTime;
	}

	/**
	 * @param taskDurationTime the taskDurationTime to set
	 */
	public void setTaskDurationTime(String taskDurationTime) {
		this.taskDurationTime = taskDurationTime;
	}

	/**
	 * @return the appId
	 */
	public String getAppId() {
		return appId;
	}

	/**
	 * @param appId the appId to set
	 */
	public void setAppId(String appId) {
		this.appId = appId;
	}

	/**
	 * @return the appName
	 */
	public String getAppName() {
		return appName;
	}

	/**
	 * @param appName the appName to set
	 */
	public void setAppName(String appName) {
		this.appName = appName;
	}

	/**
	 * @return the deployMentId
	 */
	public String getDeployMentId() {
		return deployMentId;
	}

	/**
	 * @param deployMentId the deployMentId to set
	 */
	public void setDeployMentId(String deployMentId) {
		this.deployMentId = deployMentId;
	}

	/**
	 * @return the deployCtlId
	 */
	public String getDeployCtlId() {
		return deployCtlId;
	}

	/**
	 * @param deployCtlId the deployCtlId to set
	 */
	public void setDeployCtlId(String deployCtlId) {
		this.deployCtlId = deployCtlId;
	}

	/**
	 * @return the deployCtlKey
	 */
	public String getDeployCtlKey() {
		return deployCtlKey;
	}

	/**
	 * @param deployCtlKey the deployCtlKey to set
	 */
	public void setDeployCtlKey(String deployCtlKey) {
		this.deployCtlKey = deployCtlKey;
	}

	/**
	 * @return the activityId
	 */
	public String getActivityId() {
		return activityId;
	}

	/**
	 * @param activityId the activityId to set
	 */
	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	/**
	 * @return the activityName
	 */
	public String getActivityName() {
		return activityName;
	}

	/**
	 * @param activityName the activityName to set
	 */
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	/**
	 * @return the nextActivityId
	 */
	public String getNextActivityId() {
		return nextActivityId;
	}

	/**
	 * @param nextActivityId the nextActivityId to set
	 */
	public void setNextActivityId(String nextActivityId) {
		this.nextActivityId = nextActivityId;
	}

	/**
	 * @return the nextActivityName
	 */
	public String getNextActivityName() {
		return nextActivityName;
	}

	/**
	 * @param nextActivityName the nextActivityName to set
	 */
	public void setNextActivityName(String nextActivityName) {
		this.nextActivityName = nextActivityName;
	}

	/**
	 * @return the nextActivityType
	 */
	public String getNextActivityType() {
		return nextActivityType;
	}

	/**
	 * @param nextActivityType the nextActivityType to set
	 */
	public void setNextActivityType(String nextActivityType) {
		this.nextActivityType = nextActivityType;
	}

	/**
	 * @return the assigneeId
	 */
	public String getAssigneeId() {
		return assigneeId;
	}

	/**
	 * @param assigneeId the assigneeId to set
	 */
	public void setAssigneeId(String assigneeId) {
		this.assigneeId = assigneeId;
	}

	/**
	 * @return the assigneeName
	 */
	public String getAssigneeName() {
		return assigneeName;
	}

	/**
	 * @param assigneeName the assigneeName to set
	 */
	public void setAssigneeName(String assigneeName) {
		this.assigneeName = assigneeName;
	}

	/**
	 * @return the assigneeDeptId
	 */
	public String getAssigneeDeptId() {
		return assigneeDeptId;
	}

	/**
	 * @param assigneeDeptId the assigneeDeptId to set
	 */
	public void setAssigneeDeptId(String assigneeDeptId) {
		this.assigneeDeptId = assigneeDeptId;
	}

	/**
	 * @return the assigneeDeptName
	 */
	public String getAssigneeDeptName() {
		return assigneeDeptName;
	}

	/**
	 * @param assigneeDeptName the assigneeDeptName to set
	 */
	public void setAssigneeDeptName(String assigneeDeptName) {
		this.assigneeDeptName = assigneeDeptName;
	}

	/**
	 * @return the taskId
	 */
	public String getTaskId() {
		return taskId;
	}

	/**
	 * @param taskId the taskId to set
	 */
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	/**
	 * @return the hisTaskId
	 */
	public String getHisTaskId() {
		return hisTaskId;
	}

	/**
	 * @param hisTaskId the hisTaskId to set
	 */
	public void setHisTaskId(String hisTaskId) {
		this.hisTaskId = hisTaskId;
	}

	/**
	 * @return the instanceId
	 */
	public String getInstanceId() {
		return instanceId;
	}

	/**
	 * @param instanceId the instanceId to set
	 */
	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	/**
	 * @return the superInstanceId
	 */
	public String getSuperInstanceId() {
		return superInstanceId;
	}

	/**
	 * @param superInstanceId the superInstanceId to set
	 */
	public void setSuperInstanceId(String superInstanceId) {
		this.superInstanceId = superInstanceId;
	}

	/**
	 * @return the nodeFormId
	 */
	public String getNodeFormId() {
		return nodeFormId;
	}

	/**
	 * @param nodeFormId the nodeFormId to set
	 */
	public void setNodeFormId(String nodeFormId) {
		this.nodeFormId = nodeFormId;
	}

	/**
	 * @return the nodeFormFileName
	 */
	public String getNodeFormFileName() {
		return nodeFormFileName;
	}

	/**
	 * @param nodeFormFileName the nodeFormFileName to set
	 */
	public void setNodeFormFileName(String nodeFormFileName) {
		this.nodeFormFileName = nodeFormFileName;
	}

	/**
	 * @return the nodeFormFilePath
	 */
	public String getNodeFormFilePath() {
		return nodeFormFilePath;
	}

	/**
	 * @param nodeFormFilePath the nodeFormFilePath to set
	 */
	public void setNodeFormFilePath(String nodeFormFilePath) {
		this.nodeFormFilePath = nodeFormFilePath;
	}
	
	/**
	 * @return the sId
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * @param sId the sId to set
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * @return the nodeFormFieldVo
	 */
	public FlowFormFieldVo getNodeFormFieldVo() {
		return nodeFormFieldVo;
	}

	/**
	 * @param nodeFormFieldVo the nodeFormFieldVo to set
	 */
	public void setNodeFormFieldVo(FlowFormFieldVo nodeFormFieldVo) {
		this.nodeFormFieldVo = nodeFormFieldVo;
	}
	

}
